.class public Lcom/estrongs/android/biz/cards/cardfactory/h;
.super Ljava/lang/Object;
.source "CmsCardFactoryNew.java"

# interfaces
.implements Lcom/estrongs/android/biz/cards/cardfactory/b;


# static fields
.field private static volatile c:Lcom/estrongs/android/biz/cards/cardfactory/h;


# instance fields
.field private a:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;",
            ">;"
        }
    .end annotation
.end field

.field private b:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap<",
            "Ljava/lang/Integer;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method private constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->b:Ljava/util/HashMap;

    return-void
.end method

.method public static b()Lcom/estrongs/android/biz/cards/cardfactory/h;
    .locals 2

    .line 1
    sget-object v0, Lcom/estrongs/android/biz/cards/cardfactory/h;->c:Lcom/estrongs/android/biz/cards/cardfactory/h;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/estrongs/android/biz/cards/cardfactory/h;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/estrongs/android/biz/cards/cardfactory/h;->c:Lcom/estrongs/android/biz/cards/cardfactory/h;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/estrongs/android/biz/cards/cardfactory/h;

    invoke-direct {v1}, Lcom/estrongs/android/biz/cards/cardfactory/h;-><init>()V

    sput-object v1, Lcom/estrongs/android/biz/cards/cardfactory/h;->c:Lcom/estrongs/android/biz/cards/cardfactory/h;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/estrongs/android/biz/cards/cardfactory/h;->c:Lcom/estrongs/android/biz/cards/cardfactory/h;

    return-object v0
.end method


# virtual methods
.method public a(Les/yg;)I
    .locals 4

    .line 11
    invoke-virtual {p1}, Les/yg;->d()I

    move-result v0

    invoke-virtual {p1}, Les/yg;->b()Ljava/lang/String;

    move-result-object v1

    .line 12
    invoke-virtual {p1}, Les/yg;->e()Ljava/lang/String;

    move-result-object p1

    .line 13
    invoke-static {v0, v1, p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 14
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->e(Ljava/lang/String;)I

    move-result v0

    .line 15
    iget-object v1, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->b:Ljava/util/HashMap;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 16
    iget-object v1, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->b:Ljava/util/HashMap;

    monitor-enter v1

    .line 17
    :try_start_0
    iget-object v2, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->b:Ljava/util/HashMap;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 18
    iget-object v2, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->b:Ljava/util/HashMap;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v2, v3, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 19
    :cond_0
    monitor-exit v1

    goto :goto_0

    :catchall_0
    move-exception p1

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1

    :cond_1
    :goto_0
    return v0
.end method

.method public a(I)Ljava/lang/String;
    .locals 1

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->b:Ljava/util/HashMap;

    if-eqz v0, :cond_0

    .line 10
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return-object p1
.end method

.method public a()V
    .locals 1

    .line 30
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/g;->h()Lcom/estrongs/android/biz/cards/cardfactory/g;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/biz/cards/cardfactory/g;->g()V

    return-void
.end method

.method public a(Les/yg;Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method public a(Ljava/lang/String;Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;)V
    .locals 1

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->a:Ljava/util/Map;

    if-nez v0, :cond_0

    .line 21
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->a:Ljava/util/Map;

    .line 22
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->h(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 23
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/g;->h()Lcom/estrongs/android/biz/cards/cardfactory/g;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/g;->a(Ljava/lang/String;Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;)V

    goto :goto_0

    .line 24
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->a:Ljava/util/Map;

    invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_0
    return-void
.end method

.method public a(Ljava/lang/String;ZLcom/estrongs/android/biz/cards/cardfactory/j;)V
    .locals 1
    .param p3    # Lcom/estrongs/android/biz/cards/cardfactory/j;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->h(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/g;->h()Lcom/estrongs/android/biz/cards/cardfactory/g;

    move-result-object v0

    invoke-virtual {v0, p1, p2, p3}, Lcom/estrongs/android/biz/cards/cardfactory/g;->a(Ljava/lang/String;ZLcom/estrongs/android/biz/cards/cardfactory/j;)V

    goto :goto_0

    :cond_0
    const-string v0, "message_box_list"

    .line 3
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/app/messagebox/c;->b()Lcom/estrongs/android/pop/app/messagebox/c;

    move-result-object p1

    sget-object v0, Les/fl;->a:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/messagebox/c;->a(Ljava/lang/String;)Les/gl;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 5
    invoke-virtual {p1}, Les/gl;->b()Les/ll;

    move-result-object p1

    .line 6
    instance-of v0, p1, Lcom/estrongs/android/pop/app/messagebox/info/a;

    if-eqz v0, :cond_1

    .line 7
    new-instance v0, Lcom/estrongs/android/biz/cards/cardfactory/h$a;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/biz/cards/cardfactory/h$a;-><init>(Lcom/estrongs/android/biz/cards/cardfactory/h;Les/ll;ZLcom/estrongs/android/biz/cards/cardfactory/j;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o;->b(Ljava/lang/Runnable;)V

    goto :goto_0

    .line 8
    :cond_1
    new-instance p1, Lcom/estrongs/android/biz/cards/cardfactory/h$b;

    invoke-direct {p1, p0, p3}, Lcom/estrongs/android/biz/cards/cardfactory/h$b;-><init>(Lcom/estrongs/android/biz/cards/cardfactory/h;Lcom/estrongs/android/biz/cards/cardfactory/j;)V

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Runnable;)V

    :cond_2
    :goto_0
    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/yg;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_0

    .line 25
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    const/4 v0, 0x0

    .line 26
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/yg;

    if-eqz p1, :cond_0

    .line 27
    invoke-virtual {p1}, Les/yg;->c()Ljava/lang/String;

    move-result-object p1

    .line 28
    iget-object v0, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->a:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;

    .line 29
    new-instance v0, Lcom/estrongs/android/biz/cards/cardfactory/h$c;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/h$c;-><init>(Lcom/estrongs/android/biz/cards/cardfactory/h;Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Runnable;)V

    :cond_0
    return-void
.end method

.method public b(Ljava/lang/String;)V
    .locals 1

    .line 7
    invoke-static {p1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->h(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 8
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/g;->h()Lcom/estrongs/android/biz/cards/cardfactory/g;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/g;->a(Ljava/lang/String;)V

    goto :goto_0

    .line 9
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/biz/cards/cardfactory/h;->a:Ljava/util/Map;

    if-eqz v0, :cond_1

    .line 10
    invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    :goto_0
    return-void
.end method
